package com.chen.tliaswebtest.mapper;

import com.chen.tliaswebtest.pojo.EmpExpress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/7/24
 * 员工工作经历表映射接口
 */
@Mapper
public interface EmpExpressMapper {
    public void deleteEmpExprByIds(List<Integer> ids);

    void addEmpExpresess(Integer id, List<EmpExpress> exprList);

    @Select("select id, emp_id, begin, end, company, job from emp_expr where emp_id = #{empId}")
    List<EmpExpress> selectEmpExprById(Integer empId);
}
